package com.rjh.base.socket;

import java.io.IOException;
import java.net.InetAddress;

public class InetAddressDemo {

    public static void main(String[] args) throws IOException {
        InetAddress localHost = InetAddress.getLocalHost();
        System.out.println(localHost);
    }
}
